<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- 模块-新增  -->
<input id="lvlHidden"   type="hidden" name="lvlHidden" value="${entity.lvl+1}"/>
<input id="lvl"   type="hidden" name="lvl" value="${entity.lvl+1}"/>
<input id="level_num"   type="hidden" name="level_num" />
<div class="form-group notnull"  >
	<div class="form-label w36">上级名称</div>
	<div class="form-editor w64">
		<input id="up_id_hidden"   type="hidden" name="up_id_hidden" value="${entity.id}"/>
		<input id="up_id"   type="hidden" name="up_id" value="${entity.id}"/>
		<input type="text" id="up_name" name="up_name" class="easyui-textbox" data-options="disabled:true,required:true,missingMessage:'上级模块名称不能为空',value:'${entity.up_id== -1?entity.name:entity.up_name}' " />
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">模块级别</div>
	<div class="form-editor w64">
		<input id="lvlVO" name="lvlVO" class="easyui-numberbox" data-options="disabled:true,novalidate:'true',required:true,missingMessage:'模块级别不能为空',value:'${entity.lvl+1}'"    />
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">模块名称</div>
	<div class="form-editor w64">
		<input type="text" id="name" name="name"  class="easyui-textbox" data-options="novalidate:'true',required:true,missingMessage:'模块名称不能为空'"  />
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">controller</div>
	<div class="form-editor w64">
		<input class="f1 easyui-textbox" type="text" id="controlle_address" name="controlle_address" data-options="novalidate:'true',required:true,missingMessage:'controller地址不能为空'" /></input>
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">模块图标</div>
	<div class="form-editor w64">
		<input class="f1 easyui-textbox" type="text" id="icon" name="icon" data-options="novalidate:'true',required:true,missingMessage:'模块图标不能为空'" /></input>
	</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">序号：</div>
	<div class="form-editor w64">
		 <input  id="order_num" name="order_num" class="easyui-numberbox" data-options="novalidate:'true',required:true,missingMessage:'序号不能为空' " />
	</div>
</div>
<div class="form-group notnull" >
	<div class="form-label w36">类型</div>
	<div class="form-editor w64">
				<select class="easyui-combobox"  id="type" name="type" data-options="novalidate:'true',required:true,missingMessage:'模块类型不能为空'">
					<c:forEach items="${moduleTypeList}" var="typeDomain">
						<option value="${typeDomain.column_value}">${typeDomain.column_content}</option>
					</c:forEach>
			</select>
		</div>
</div>

<div class="form-group notnull">
	<div class="form-label w36">操作级别</div>
	<div class="form-editor w64">
		<select class="easyui-combobox"  id="level" name="level" data-options="novalidate:'true',required:true,missingMessage:'模块操作级别不能为空'" >
			<c:forEach items="${moduleLevelList}" var="levelDomain">
				<option value="${levelDomain.column_value}">${levelDomain.column_content}</option>
			</c:forEach>
		</select>
 	</div>
</div>
<div class="form-group notnull" >
	<div class="form-label w36">是否一级</div>
	<div class="form-editor w64">
			<input class="easyui-radiobox" name="is_stair" data-options="label:'否'" value="N" checked>
			<input class="easyui-radiobox" name="is_stair" data-options="label:'是'" value="Y">
		</div>
</div>
<div class="form-group notnull">
	<div class="form-label w36">关键模块</div>
	<div class="form-editor w64">
		<input class="easyui-radiobox" name="key_modular" data-options="label:'否'" value="N" checked>
		<input class="easyui-radiobox" name="key_modular" data-options="label:'是'" value="Y">
 	</div>
</div>
<div class="form-group-two notnull" style="height: 60px;" >
	<div class="form-label w36 h-two">链接地址</div>
	<div class="form-editor w64">
		<input class="easyui-textbox" id ="url" name="url" data-options="novalidate:'true', multiline:true,required:true,missingMessage:'模块URL不能为空'"  style="width:460px;height:50px">
	</div>
</div>
<div class="form-group-two notnull" style="height: 60px;">
	<div class="form-label w36 ">URL规则</div>
	<div class="form-editor w64" >
		 <input class="easyui-textbox" id ="url_pattern" name="url_pattern" data-options="novalidate:'true',multiline:true,required:true,missingMessage:'URL规则不能为空'"  style="width:460px;height:50px">
	</div>
</div>
<div class="form-group-two notnull" style="height: 60px;">
	<div class="form-label w36 " >HTML内容</div>
	<div class="form-editor w64">
		 <input class="easyui-textbox" id ="htm_content" name="htm_content" data-options="novalidate:'true',multiline:true,required:true,missingMessage:'HTML内容不能为空'"  style="width:460px;height:50px">
	</div>
</div>
<div class="form-group-two " style="height: 60px;">
		<div class="form-label w36   ">备注</div>
		<div class="form-editor w64">
			  <input class="easyui-textbox" id =" remark" name=" remark" data-options="multiline:true "  style="width:460px;height:50px">
		</div> 
</div>
